<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>

        let list =[
            {
                name:"xxxx",
                img:"xxx.jpg",
                count:1,
            }
        ]

        // let brands = ['aj', 'yeezy', 'vans', 'anta']

        // let table = document.createElement('table')
        // document.body.appendChild(table)

        // let tr = document.createElement('tr')
        // table.appendChild(tr)

        // let th = document.createElement('th')
        // th.innerHTML = '品牌'
        // tr.appendChild(th)

        // let th1 = document.createElement('th')
        // th1.innerHTML = '操作'
        // tr.appendChild(th1)

        // brands.forEach(function (item) {
        //     let tr1 = document.createElement('tr')
        //     table.appendChild(tr1)

        //     let td1 = document.createElement('td')
        //     td1.innerHTML = item
        //     tr1.appendChild(td1)

        //     let td2 = document.createElement('td')
        //     td2.innerHTML = `删除`
        //     td2.onclick = function(){
        //         tr1.remove()
        //     }
        //     tr1.appendChild(td2)
        // })







    </script>
</body>

</html>